#pragma once

#include "Game.h"

class Proc
{
public:

	static void Init(HINSTANCE hInstance);

	static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
	static INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
	static LRESULT wm_create(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
	static LRESULT wm_paint(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);

	static LRESULT wm_timer(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
	static VOID my_draw(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);

	static LRESULT wm_command(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
	static LRESULT idm_start(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
	static LRESULT idm_stop(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);


	static LRESULT wm_keydown(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
	static LRESULT wm_keyup(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);

private:

	static Game game;
	static HINSTANCE hInst;
	static int width;
	static int height;
	static HBITMAP bmp;
	static HDC hdcMemory;
	static Graphics *graphics;
};

